<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta name="author" content="wangbo">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>名字的全品</title>
  <style>
    a{
      /* 浮动使行内元素可以设置宽高 */
      float: left;
      /* url里边放置图片的位置 */
      background-image:url('./abcd.jpg');
      /* 背景图片不重复 */
      background-repeat: no-repeat;
      width: 600px;
      height: 669px;
    }
    /* 127,564 */
    .a1{
      width: 140px;
      height: 112px;
      background-position: -114px -558px;}
    .a2{width: 116px;height: 120px;}
    /* 257,280 */
    .a3{
      width: 118px;
      height: 120px;
      background-position: -253px -267px;
    }
    .a4{
      width: 114px;
      height: 120px;
      background-position: -97px -137px;
    }
  
  </style>
</head>
<body>
  <h1>wang</h1>
  <a href="#" class="a1"></a>
  <a href="#" class="a2"></a>
  <a href="#" class="a3"></a>
  <a href="#" class="a4"></a>
</body>
</html>